<?php
namespace Shama\Company;
/**
 * Shama Company Type Object.
 *
 * It represant a type of Company (such as ...)
 *
 * @author Xavier VILAIN
 * @package Shama\Contact
 * @license
 *
 * @property string	$type			Type id (4)
 * @property string	$language		Type language (5)
 * @property string	$label			Label
 * @property bool	$standard		Is a standard type (can't be deleted)
 * @property bool	$active			Is an active type (can be selected)
 * @property bool 	$loekz 			Deletion Flag if true is an been deleted
 */
class Type extends \Fox\Object {

	/**
	 * Link To Medical Center
	 */
	const LINK_COMPANY = "company";

	/**
	 * To standardize the creation/update
	 * @return string label
	 */
	public function label()
	{
		return $this->label;
	}
}
\Fox\Dao::infos(Type::className(),new \Fox\Object\Info('company_types', \Fox\Databases::DB_APP));